package com.sikadwa.analysis.bean

import android.os.Build
import com.sikadwa.analysis.AnalysisBuilder
import com.sikadwa.analysis.AnalyticsUtil
import java.util.Locale

/**
 * Sikadwa
 * @Author wwdeng
 * @CreateTime: 2025/1/7 13:59
 * @Annotation：Firebase
 */
class FirebaseS2SBean(
    var name: String = "",
    var OSAndVersion: String = "",
    var locale: String = "",
    var device: String = "",
    var appVersion: String = "",
    var sdkVersion: String = "",
    var lat: String = "",
    var firebaseAppId: String = "",
    var ga4AppInstanceId: String = ""
): BaseBean() {
    init {
        this.name = AnalysisBuilder.appPckName
        this.OSAndVersion = "Android ${Build.VERSION.RELEASE}"
        this.locale = Locale.getDefault().toString()
        this.device = "Build/${Build.ID}"//Build.MODEL.toString()
        this.appVersion = AnalysisBuilder.appVersion
        this.sdkVersion = Build.VERSION.SDK_INT.toString()
        this.lat =  AnalyticsUtil.getAdEnabled().toString()
    }
}